import axios from "@/axios";

// 轮播图列表
export const getNewsList = (params) => {
    console.log(params);
    return axios.get("/index/news", {
        params: {
            per_page: params.per_page,
            page: params.page
        }
    });
};